package com.xayy.scheduled.convert;


import com.xayy.scheduled.model.vo.DataInfoVo;
import com.xayy.scheduled.model.dto.DataInfoDto;
import com.xayy.scheduled.model.DataInfo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;
/**
* @Description: DataInfoConvert类
* @author liuyuan
* @date 2025-06-27
*/
@Mapper
public interface DataInfoConvert {
        DataInfoConvert INSTANCE = Mappers.getMapper(DataInfoConvert.class);

        DataInfoVo convert(DataInfo entity);

        DataInfo convert(DataInfoVo vo);

        List<DataInfoVo> convertToVOList(List<DataInfo> list);

        List<DataInfo> convertToPOList(List<DataInfoVo> list);

}